package com.wanmait.houlang.pojo;

import java.io.Serializable;

public class ScScorePro implements Serializable {
    private Integer id;

    private School school;

    private Professional professional;

    private String minScore;

    private Integer minPrecedence;

    private Integer year;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public School getSchool() {
        return school;
    }

    public void setSchool(School school) {
        this.school = school;
    }

    public Professional getProfessional() {
        return professional;
    }

    public void setProfessional(Professional professional) {
        this.professional = professional;
    }

    public String getMinScore() {
        return minScore;
    }

    public void setMinScore(String minScore) {
        this.minScore = minScore;
    }

    public Integer getMinPrecedence() {
        return minPrecedence;
    }

    public void setMinPrecedence(Integer minPrecedence) {
        this.minPrecedence = minPrecedence;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", schoolId=").append(school);
        sb.append(", professionalId=").append(professional);
        sb.append(", minScore=").append(minScore);
        sb.append(", minPrecedence=").append(minPrecedence);
        sb.append(", year=").append(year);
        sb.append("]");
        return sb.toString();
    }
}